<form id="edit-form" class="form-horizontal" role="form" data-toggle="validator" method="POST" action="">

    <div class="form-group">
        <label for="c-property_id" class="control-label col-xs-12 col-sm-2">{:__('Property_id')}:</label>
        <div class="col-xs-12 col-sm-8">
            <input id="c-property_id" data-rule="required" data-source="property/index" class="form-control selectpage" name="row[property_id]" type="text" value="{$row.property_id}">
        </div>
    </div>
    <div class="form-group">
        <label for="c-property_name" class="control-label col-xs-12 col-sm-2">{:__('Property_name')}:</label>
        <div class="col-xs-12 col-sm-8">
            <input id="c-property_name" data-rule="required" class="form-control" name="row[property_name]" type="text" value="{$row.property_name}">
        </div>
    </div>
    <div class="form-group">
        <label for="c-property_sku" class="control-label col-xs-12 col-sm-2">{:__('Property_sku')}:</label>
        <div class="col-xs-12 col-sm-8">
            <input id="c-property_sku" class="form-control" name="row[property_sku]" type="text" value="{$row.property_sku}">
        </div>
    </div>
    <div class="form-group">
        <label for="c-property_use_type" class="control-label col-xs-12 col-sm-2">{:__('Property_use_type')}:</label>
        <div class="col-xs-12 col-sm-8">
                        
            <select  id="c-property_use_type" data-rule="required" class="form-control selectpicker" name="row[property_use_type]">
                {foreach name="propertyUseTypeList" item="vo"}
                    <option value="{$key}" {in name="key" value="$row.property_use_type"}selected{/in}>{$vo}</option>
                {/foreach}
            </select>

        </div>
    </div>
    <div class="form-group">
        <label for="c-site_id" class="control-label col-xs-12 col-sm-2">{:__('Site_id')}:</label>
        <div class="col-xs-12 col-sm-8">
            <input id="c-site_id" data-rule="required" data-source="site/index" class="form-control selectpage" name="row[site_id]" type="text" value="{$row.site_id}">
        </div>
    </div>
    <div class="form-group">
        <label for="c-site_name" class="control-label col-xs-12 col-sm-2">{:__('Site_name')}:</label>
        <div class="col-xs-12 col-sm-8">
            <input id="c-site_name" data-rule="required" class="form-control" name="row[site_name]" type="text" value="{$row.site_name}">
        </div>
    </div>
    <div class="form-group">
        <label for="c-property_use_time" class="control-label col-xs-12 col-sm-2">{:__('Property_use_time')}:</label>
        <div class="col-xs-12 col-sm-8">
            <input id="c-property_use_time" class="form-control datetimepicker" data-date-format="YYYY-MM-DD HH:mm:ss" data-use-current="true" name="row[property_use_time]" type="text" value="{$row.property_use_time|datetime}">
        </div>
    </div>
    <div class="form-group">
        <label for="c-property_end_time" class="control-label col-xs-12 col-sm-2">{:__('Property_end_time')}:</label>
        <div class="col-xs-12 col-sm-8">
            <input id="c-property_end_time" class="form-control datetimepicker" data-date-format="YYYY-MM-DD HH:mm:ss" data-use-current="true" name="row[property_end_time]" type="text" value="{$row.property_end_time|datetime}">
        </div>
    </div>
    <div class="form-group">
        <label for="c-property_use_fee" class="control-label col-xs-12 col-sm-2">{:__('Property_use_fee')}:</label>
        <div class="col-xs-12 col-sm-8">
            <input id="c-property_use_fee" class="form-control" step="0.01" name="row[property_use_fee]" type="number" value="{$row.property_use_fee}">
        </div>
    </div>
    <div class="form-group">
        <label for="c-user_id" class="control-label col-xs-12 col-sm-2">{:__('User_id')}:</label>
        <div class="col-xs-12 col-sm-8">
            <input id="c-user_id" data-rule="required" data-source="user/index" data-field="nickname" class="form-control selectpage" name="row[user_id]" type="text" value="{$row.user_id}">
        </div>
    </div>
    <div class="form-group">
        <label for="c-user_name" class="control-label col-xs-12 col-sm-2">{:__('User_name')}:</label>
        <div class="col-xs-12 col-sm-8">
            <input id="c-user_name" data-rule="required" class="form-control" name="row[user_name]" type="text" value="{$row.user_name}">
        </div>
    </div>
    <div class="form-group">
        <label for="c-create_time" class="control-label col-xs-12 col-sm-2">{:__('Create_time')}:</label>
        <div class="col-xs-12 col-sm-8">
            <input id="c-create_time" data-rule="required" class="form-control datetimepicker" data-date-format="YYYY-MM-DD HH:mm:ss" data-use-current="true" name="row[create_time]" type="text" value="{$row.create_time|datetime}">
        </div>
    </div>
    <div class="form-group layer-footer">
        <label class="control-label col-xs-12 col-sm-2"></label>
        <div class="col-xs-12 col-sm-8">
            <button type="submit" class="btn btn-success btn-embossed disabled">{:__('OK')}</button>
            <button type="reset" class="btn btn-default btn-embossed">{:__('Reset')}</button>
        </div>
    </div>
</form>
